home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <system.diagnostics>
- <sources>
- <!-- This section defines the logging configuration for My.Application.Log in Windows Forms projects.-->
- <source name="Microsoft.VisualBasic.MyServices.Log.WindowsFormsSource" switchName="DefaultSwitch">
- <listeners>
- <add name="FileLog"/>
- <!-- Uncomment the below section to write to the Application Event Log -->
- <!--<add name="EventLog"/>-->
- </listeners>
- </source>
- </sources>
- <switches>
- <add name="DefaultSwitch" value="Information" />
- </switches>
- <sharedListeners>
- <add name="FileLog"
- type="System.Diagnostics.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.1200.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
- initializeData="FileLogWriter"/>
- <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
- <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
- </sharedListeners>
- </system.diagnostics>
- </configuration>